package org.example.car.system.domain;

import cn.hutool.core.date.DateTime;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName SYS_DICT_TYPE
 */
@TableName(value ="SYS_DICT_TYPE")
@Data
public class SysDictType implements Serializable {
    /**
     * 
     */
    @ExcelProperty(value = "编号")
    @TableId
    private Long dictId;

    /**
     * 
     */
    @ExcelProperty(value = "字典名称")
    private String dictName;

    /**
     * 
     */
    @ExcelProperty(value = "字典类型")
    private String dictType;

    /**
     * 
     */
    @ExcelProperty(value = "状态")
    private Long status;

    /**
     * 
     */
    @ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 
     */@ExcelProperty(value = "修改人")
    private String updateBy;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @ExcelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 
     */
    @ExcelProperty(value = "备注")
    private String remark;

    @TableField(exist = false)
    private DateTime min;
    @TableField(exist = false)
    private DateTime max;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}